-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak some minor UI issues #743
Conversation
@@ -140,6 +140,12 @@ | |||
color: white !important; | |||
} | |||
|
|||
.ant-table-empty{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -18,7 +18,7 @@ const getMenus = function (menuArray, siderFold) { | |||
<span> | |||
{item.icon ? <Icon type={item.icon} /> : ''} | |||
{siderFold && topMenus.indexOf(item.key) >= 0 ? '' : item.name} | |||
<Icon type="down" /> | |||
<Icon type="down" style={{ marginLeft: 5 }} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
</CopyToClipboard> : 'URL no available' | ||
} | ||
</p> | ||
<h3> Backup URL </h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get URL dropdown is disabled if url is empty. So I refactor to make this BackupURL modal simple.
@@ -47,7 +47,6 @@ function actions({ selected, showEditDisksModal, deleteHost }) { | |||
const tooltipProps = { placement: 'left' } | |||
return ( | |||
<DropOption | |||
buttonStyle={{ padding: '0 0' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{attchedNodeIsDown ? <Tooltip title={'The attached node is down'}><Icon className="faulted" style={{ transform: 'rotate(45deg)', marginRight: 5 }} type="api" /></Tooltip> : ''} | ||
{attachedNodeIsDown && ( | ||
<Tooltip title={'The attached node is down'}> | ||
<Icon className="faulted" style={{ transform: 'rotate(45deg)', marginRight: 5, marginLeft: 5 }} type="api" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -21,7 +21,7 @@ const modal = ({ | |||
if (item.podList) { | |||
CardItem = item.podList.map((ele, index) => { | |||
return ( | |||
<div style={{ border: '1px solid #f4f4f4', padding: 24, marginRight: 5, marginBottom: 10 }} key={index}> | |||
<div style={{ width: '100%', border: '1px solid #f4f4f4', padding: 24, marginRight: 5, marginBottom: 10 }} key={index}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -28,3 +28,9 @@ | |||
display: inline-block; | |||
} | |||
} | |||
|
|||
:global{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What's change in this PR?
Tweak some stange LH UI issues listed in [UI][IMPROVEMENT] Tweak some minor UI issues
Issue
[UI][IMPROVEMENT] Tweak some minor UI issues
Result
See below comments